package com.borrowed.book.book.mapper;

import com.borrowed.book.book.domain.SHomepageImg;
import com.borrowed.book.book.domain.SelectHomeImgInDto;
import com.borrowed.book.book.domain.UpdHomeImgStatusInDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SHomepageImgMapper {
    int insert(SHomepageImg record);

    int insertSelective(SHomepageImg record);

    int update(SHomepageImg record);

    int updateStatus(UpdHomeImgStatusInDto record);

    int delete(Long id);

    List<SHomepageImg> select(SelectHomeImgInDto param);
}